from notice.views import NoticeListView, NoticeCreate, NoticeUpdate, NoticeDelete
from django.conf.urls import patterns, url, include
__author__ = '侯志文'


urlpatterns = patterns('',
                       url(r'^$', NoticeListView.as_view(), name='notice_list'),
                       url(r'^create/$', NoticeCreate.as_view(), name='notice_create'),
                       url(r'^update/(?P<pk>\d+)/$', NoticeUpdate.as_view(), name='notice_update'),
                       url(r'^delete/(?P<pk>\d+)/$', NoticeDelete.as_view(), name='notice_delete'),
                       )
